package com.ljj.repository;

import com.ljj.dataobject.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by 39716 on 2018/3/25.
 */
public interface OrderDetailRepository extends JpaRepository<OrderDetail,String> {
    //根据 订单id 查到所有 订单详情
    List<OrderDetail> findByOrderId(String orderId);
}
